﻿using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using UnityEngine.UI;

public class TextUIElement : BaseUIElement {
    public override void BindMethod(MethodInfo Method, BasePanel panel)
    {
    }

    protected override void SetMethod(BasePanel panel)
    {
    }

    public void SetText(string text) {
        GetComponent<Text>().text = text;
    }

    public string GetText() {
        return GetComponent<Text>().text;
    }

}
